
cookie=`cat cookie.txt`

curl --compressed \
    -H 'Host: www.ti.com.cn' \
    -H 'Connection: keep-alive' \
    -H 'sec-ch-ua: "Google Chrome";v="95", "Chromium";v="95", ";Not A Brand";v="99"' \
    -H 'sec-ch-ua-mobile: ?0' \
    -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36" \
    -H "Content-Type: application/json" \
    -H 'X-Sec-Clge-Req-Type: ajax' \
    -H 'X-Requested-With: XMLHttpRequest' \
    -H 'Expires: 0' \
    -H "Cache-Control: no-store, must-revalidate" \
    -H 'sec-ch-ua-platform: "macOS"' \
    -H 'Accept: */*' \
    -H 'Origin: https://www.ti.com.cn' \
    -H 'Sec-Fetch-Site: same-origin' \
    -H 'Sec-Fetch-Mode: cors' \
    -H 'Sec-Fetch-Dest: empty' \
    -H 'Referer: https://www.ti.com.cn/ordering-resources/buying-tools/quick-add-to-cart.html' \
    -H 'Accept-Encoding: gzip, deflate, br' \
    -H 'Accept-Language: zh-CN,zh;q=0.9,en;q=0.8' \
    -b "$cookie" \
    -d '["BQ40Z50RSMR-R1","OPA2197IDGKR","ISO7720FDR","TCAN4550RGYT","TLC555QDRQ1","TCAN4550RGYRQ1","TCA9617BDGKR","TPS92611QDGNRQ1","BQ28Z610DRZR-R1","TPS7A7002DDAR","TPS7A4501DCQR","TPS7A2633DRVR","CC2541F256RHAR","TPS7B8250QDGNRQ1","TPS25200QDRVRQ1","BQ27Z561YPHR-R1","TPS7A1901DRBR","TPS63806YFFR","TPA3111D1QPWPRQ1","TPS7B4253QDDARQ1","XTR111AIDGQR","BQ27426YZFR","ISO7220CDR","TPS22975DSGR","LP5912Q3.3DRVRQ1","TPS25200QDRVTQ1","BQ25606RGER","DRV8702QRHBTQ1","BQ294700DSGR","OPA2197IDGKT","TPS22968NQDMGRQ1","BQ40Z50RSMR-R2","LM5050MKX-1/NOPB","AM26LV32EIDR","TPS22953DQCR","TUSB1210BRHBR","TLV61046ADBVR","TLV62585RWTR","TLV62130ARGTR","TLV73318PDQNR","TLV75801PDRVR","TPS92515HVDGQR","TPS63030DSKR","TPS22963CYZPR","TPS63070RNMR","TPS63020DSJR","TPS62290DRVR","TPS62140RGTR","TPS62175DQCR","TPS53513RVER","TPS2121RUXR","TPS2560DRCR","TPS22965DSGR","TPS51200DRCT","INA230AIRGTR","DRV632PWR","DRV8818PWPR","TPA3116D2DADR","BQ24040DSQR","TPS2546RTER","CC110LRGPR","CC2500RGPR","DRV11873PWPR","DRV10983PWPR","DP83822IRHBR","DP83825IRMQR","TS3USB221ARSER","TS3USB3031RMGR","PCM5101APWR","PCM5100APWR","ISO3080DWR","TCA6408ARSVR","TCA8418RTWR","TCA9517DGKRQ1","TCA9509DGKR","LMZ21701SILR","LMZ31707RVQR","UCC27517DBVR","TPS7A4001DGNR","TPS7A6933QDRQ1","TPS7A7100RGTR","LMR16006YQDDCRQ1","TPS259571DSGR","TPS25200DRVR","UCC2897ARGPR","UCC27201DRMR","TCAN1042HVDR","AMC1311BDWVR","TCAN1042VDRBRQ1","TCAN1042HVDRBRQ1","LP5018RSMR","LP5024RSMR","UCC28950PWR","TPS62090RGTR","TPS53353DQPT","DRV8838DSGR","LP5562TMX/NOPB","DP83848CVVX/NOPB","ISO1212DBQR","TPS562200DDCR","UCC21520DWR","UCC21520QDWRQ1","TPS74801DRCT","TPS63051YFFR","TPS2378DDAR","TPD7S019-15DBQR","TPS62125DSGT","LM10011SD/NOPB","LM10011SDX/NOPB","LM26480SQX-AA/NOPB","LM26480SQ-AA/NOPB","TPS53315RGFR","TPS53317RGBT","TPS53679RSBR","TPS53659RSBR","TPS53318DQPR","TPS53626RSMR","TLV320AIC3104IRHBR","TLV3201AIDCKR","TLV320AIC3106IRGZR","TPS16632RGER","TPS2052BDGNR","TPS2115ADRBR","TPS22990DMLR","TPS22976DPUR","TPS22913CYZVR","TPS22810DBVR","TPS22945DCKR","TPS22953DSQR","TPS23861PWR","TPS23751PWPR","TPS2491DGSR"]' \
    https://www.ti.com.cn/storeservices/cart/inventory -v

